package bigdec.a01demo1;

import java.math.BigDecimal;
import java.math.RoundingMode;

public class Test2 {
    public static void main(String[] args) {
        BigDecimal b1 = BigDecimal.valueOf(10);
        BigDecimal b2 = BigDecimal.valueOf(3.0);
        BigDecimal b3 = b1.divide(b2, 2, RoundingMode.HALF_UP);
        System.out.println(b3);
    }
}
